<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<form id="newtechnologyForm">
	<div class="easyui-panel" fit="true" style="width: 430px; padding: 10px 40px; border: none; overflow: visible;">
		
		<input type="hidden" name="id" value="${wnt.id}">
		
		<div style="margin-bottom: 20px" class="form-item">
			<label for="techniqueName">技术名称</label> 
			<input class="easyui-textbox" name="techniqueName" style="width: 200px" data-options="required:true" value="${wnt.techniqueName}">
		</div>

		<div style="margin-bottom: 20px;" class="form-item">
			<label for="techniqueType">技术类型</label> 
			<select id=techniqueType class="easyui-combobox" name="techniqueType" style="width: 200px" data-options="editable:false,required:true,panelHeight:'auto'">
				<option>${wnt.techniqueType}</option>
				<option>HTML/CSS</option>
				<option>JavaScript/JQuery</option>
				<option>服务端</option>
				<option>数据端</option>
				<option>移动端</option>
				<option>数据库</option>
				<option>框架</option>
				<option>开发工具</option>
				<option>网站建设</option>
			</select>
		</div>

		<div style="margin-bottom: 20px; width: 100%;" class="form-item">
			<label for="name">提供学员</label> 
			<select id="name" class="easyui-combobox" style="width: 200px;" name="student" data-options="editable:false,panelHeight:'auto',required:true">
				<c:forEach items="${students}" var="stu">
					<option value="${stu.tb_student_id}"
						${stu.student_name == wnt.student['name'] ? 'selected' :''}>${stu.student_name}</option>
				</c:forEach>
			</select>
		</div>


		<div style="margin-bottom: 20px; width: 100%;" class="form-item">
			<label for="time" class="label-top">提供时间</label> 
			<input id="time" class="easyui-datebox" data-options="required:true,editable:false,showSeconds:false" style="width: 200px;" value="${wnt.provideTime}" name="provideTime">
		</div>


	</div>
</form>